<?php

	// +----------------------------------------------------------------------
	// | http异常处理
	// +----------------------------------------------------------------------
	// | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
	// +----------------------------------------------------------------------
	// | Author: 微尘 <yicmf@qq.com>
	// +----------------------------------------------------------------------

	namespace app\common\exception;

	use think\exception\Handle;
	use think\exception\HttpException;

	class Http extends Handle
	{
		public function render(\Exception $e)
		{
			if ($e instanceof HttpException) {
				$statusCode = $e->getStatusCode();
			}
			// TODO::开发者对异常的操作
			// 可以在此交由系统处理
			return parent::render($e);
		}
	}
